﻿using BW.WMS.WareHouseCheck.DTO;
using BW.WMS.WareHouseManage;
using BW.WMS.WareHouseStatistics.Page;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace BW.WMS.WareHouseCheck
{
    public interface IWarehouseService
    {
        /// <summary>
        /// 添加仓库盘点
        /// </summary>
        /// <param name="warehouse"></param>
        /// <returns></returns>
        Task<WarehouseDTO> CreateWarehouses(EditWarehouseDTO input);

        /// <summary>
        /// 修改仓库盘点
        /// </summary>
        /// <param name="id"></param>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<WarehouseDTO> UpdateWarehouses(Guid id,EditWarehouseDTO input);
        /// <summary>
        /// 获取仓库盘点列表+查询+分页
        /// </summary>
        /// <returns></returns>
        Task<PagedResultDto<WarehouseDTO>> GetWarehousesList(PageWarehouse page);
        /// <summary>
        /// 获取仓库盘点详情
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<WarehouseDTO> FindWarehouses(Guid id);
        /// <summary>
        /// 删除仓库盘点
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task DeleteWarehouses(Guid id);
    }
}
